Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Set a separate memory limit for CLI PHP #35

Merged
merged 2 commits into from
Nov 10, 2017
Merged

Set a separate memory limit for CLI PHP #35

merged 2 commits into from
Nov 10, 2017

Conversation

byrond
Copy link
Contributor

@byrond byrond commented Apr 24, 2017

Fixes issue #34.

Copy link
Member

@becw becw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this, generally. The other solution to this issue, though, is to run composer self-update on the VM, since composer has had some significant fixes in the past 6 months related to memory management.

Perhpas that should happen as part of the Vagrantfile (which would keep composer more up to date) or the provisioning (which would at least ensure that it's up to date at first).

with_items:
- /etc/php/5.6/apache2/php.ini
- /etc/php/5.6/cli/php.ini
- ( file: '/etc/php/5.6/apache2/php.ini', value: "{{ php_ini_memory_limit }}" }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a syntax error here? This line (and the next) start with a parenthesis ( and end with a bracket }

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say so. Yikes!

@byrond
Copy link
Contributor Author

byrond commented Oct 6, 2017

I will try your suggestion and report back whether it looks like this change is necessary. Thanks, @becw!

@becw becw merged commit 0d77715 into palantirnet:develop Nov 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants